import request from '@/utils/request'
// 列表
export function classificationList(params: any) {
    return request.get({ url: '/book.type/lists', params })
}
//添加分类
export function classificationAdd(params: any) {
    return request.post({ url: '/book.type/add', params })
}
//删除分类
export function classificationDelete(params: any) {
    return request.post({ url: '/book.type/delete', params })
}
//分类选择
export function getType(params: any) {
    return request.get({ url: '/book.type/type_list', params })
}
//分类详情
export function getTypeDetail(params: any) {
    return request.get({ url: '/book.type/detail', params })
}
//分类编辑
export function typeEdit(params: any) {
    return request.post({ url: '/book.type/edit', params })
}
//修改状态
export function classUpdateStatus(params: any) {
    return request.post({ url: '/book.type/updateStatus', params })
}
